Vendidero\OneStopShop\Tax D

Total Complexity 225
Dependencies 3
Dependents 5
Total lines 1,237
Lines of code 944
Logical lines of code 370
Comment lines 162
Methods 31
Properties 0

Methods 31

Method Rating Maintainability Complexity Lines of code
import_tax_rates()
C
36 24 75
get_tax_class_slugs()
B
45 19 38
save_variation_options()
B
44 19 38
get_product_tax_class_by_country()
B
37 16 80
get_eu_tax_rates()
B
27
5 215
save_product_options()
A
48 14 32
get_taxable_location()
A
47 13 33
get_product_tax_classes()
A
51 13 24
import_rates()
A
43 10 43
variation_tax_product_options()
A
42 6 57
get_single_tax_rate_data()
A
48 7 36
get_tax_rate_percent()
A
54 8 21
get_tax_type_by_country_rate()
A
54 8 20
tax_product_options()
S
43 5 53
disable_location_price()
S
56 7 17
filter_tax_class()
S
58 7 13
invalidate_shipping_session()
S
58 6 14
tax_rate_is_northern_ireland()
S
63 6 10
is_vat_exempt()
S
59 5 14
get_vat_postcode_exemptions_by_country()
S
48 3 40
get_country_name()
S
63 4 10
filter_cart_items_available_for_shipping()
S
68 3 7
is_admin_order_request()
S
78 3 3
is_admin_order_ajax_request()
S
71 3 4
get_tax_rate_percentage()
S
64 3 9
init()
S
59 2 13
vat_exempt_taxable_address()
S
64 2 11
import_oss_tax_rates()
S
80 1 3
import_default_tax_rates()
S
80 1 3
filter_cart_items_calculated_totals()
S
79 1 3
get_selectable_countries()
S
71 1 5